* {
            box-sizing: border-box;
            font-family: 'Inter', system-ui, -apple-system, sans-serif;
            margin: 0;
            padding: 0;
        }
        body {
            background: linear-gradient(145deg, #dbeafe 0%, #c0d6eb 100%);
            min-height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 20px;
        }
        .card {
            max-width: 1300px;
            width: 100%;
            background: rgba(255,255,255,0.9);
            backdrop-filter: blur(12px);
            border-radius: 60px;
            padding: 34px 36px;
            box-shadow: 0 30px 50px -28px #12354b;
            border: 1px solid rgba(255,255,255,0.7);
        }
        h1 {
            font-size: 2.5rem;
            font-weight: 600;

            -webkit-background-clip: text;
            background-clip: text;
            
            display: flex;
            align-items: center;
            gap: 15px;
        }
        .sub {
            background: #d9eaf8d0;
            border-left: 8px solid #378dc2;
            padding: 12px 26px;
            border-radius: 60px;
            margin: 12px 0 30px;
            font-size: 1rem;
            color: #003057;
        }
        .upload-row {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            background: #ecf5fde0;
            border-radius: 80px;
            padding: 22px 30px;
            margin-bottom: 30px;
            align-items: center;
            border: 1px solid white;
        }
        .file-area {
            flex: 3 1 300px;
        }
        .file-area label {
            font-size: 0.8rem;
            font-weight: 700;
            text-transform: uppercase;
            color: #17668b;
        }
        .file-area input[type=file] {
            width: 100%;
            padding: 14px 18px;
            background: white;
            border: 2px solid #bedcf5;
            border-radius: 60px;
            font-size: 0.95rem;
            margin-top: 6px;
        }
        .btn {
            background: white;
            border: none;
            border-radius: 60px;
            padding: 16px 34px;
            font-weight: 600;
            font-size: 1.05rem;
            box-shadow: 0 8px 18px -12px #10415e;
            display: inline-flex;
            align-items: center;
            gap: 10px;
            cursor: pointer;
            transition: 0.2s;
            border: 1px solid white;
            color: #023857;
        }
        .btn-primary {
            background: #1f6e9c;
            color: white;
            box-shadow: 0 8px 18px -6px #0b3d58;
        }
        .btn-primary:hover { background: #2882b8; transform: scale(1.02); }
        .btn-download {
            background: #1e8062;
            color: white;
            box-shadow: 0 8px 18px -6px #125540;
        }
        .btn-download:hover { background: #27a17b; }
        .preview-panel {
            display: flex;
            flex-wrap: wrap;
            gap: 30px;
            margin: 30px 0;
        }
        .preview-box {
            flex: 1 1 240px;
            background: #ffffffde;
            border-radius: 40px;
            padding: 24px;
            text-align: center;
            border: 1px solid white;
        }
        .preview-box h3 {
            color: #1f6c93;
            margin-bottom: 16px;
            font-weight: 600;
        }
        .qr-canvas-container {
            background: white;
            border-radius: 30px;
            padding: 16px;
            display: inline-block;
            box-shadow: inset 0 1px 5px #b5d0e9;
        }
        canvas {
            max-width: 100%;
            height: auto;
            border-radius: 20px;
        }
        .props-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 16px;
            background: #e8f3fe;
            border-radius: 32px;
            padding: 20px;
            margin-top: 20px;
        }
        .prop-item {
            background: white;
            border-radius: 30px;
            padding: 12px 16px;
            font-size: 0.95rem;
        }
        .analysis-panels {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 24px;
            margin: 25px 0;
        }
        @media (max-width:750px) {
            .analysis-panels { grid-template-columns: 1fr; }
        }
        .panel {
            background: #ffffffde;
            border-radius: 36px;
            padding: 22px;
        }
        .panel h3 {
            color: #1d6388;
            margin-bottom: 16px;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        .decoded-content {
            background: #f3f9ff;
            border-radius: 28px;
            padding: 18px;
            word-break: break-all;
            max-height: 150px;
            overflow-y: auto;
            border: 2px solid #cbe2f5;
        }
        .risk-flags {
            list-style: none;
            max-height: 220px;
            overflow-y: auto;
        }
        .risk-flags li {
            background: #f4faff;
            margin: 8px 0;
            padding: 12px 18px;
            border-radius: 30px;
            font-size: 0.9rem;
            border-left: 6px solid #ffb347;
        }
        .safe-flag { border-left-color: #2e9a6e !important; background: #e1f5e9; }
        .high-risk { border-left-color: #d14545 !important; background: #ffe8e8; }
        .score-badge {
            display: inline-block;
            padding: 8px 24px;
            border-radius: 40px;
            font-weight: 700;
            font-size: 1.1rem;
            background: #d7ecfe;
        }
        .status-bar {
            background: #cbe6fd;
            border-radius: 60px;
            padding: 14px 28px;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
            font-weight: 500;
            color: #003153;
            margin: 20px 0 0;
        }
        .timer-badge {
            background: #1a6a91;
            color: white;
            border-radius: 40px;
            padding: 5px 22px;
        }
        .footer {
            margin-top: 25px;
            font-size: 0.8rem;
            color: #1f5775;
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            border-top: 1px dashed #aac9e5;
            padding-top: 18px;
        }